package com.centit;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author zhao_jx
 * @date 2020/7/6 23:18
 */
public interface OrderServer {

    @GetMapping("/orders")
    String orders();

    @PostMapping("/order")
    int insertOrder(OrderDto order);
}
